#ifndef BUTTON_MAIN_CLOSE_H
#define BUTTON_MAIN_CLOSE_H

#include <QWidget>
#include "button_base.h"

class button_main_close : public button_base
{
    Q_OBJECT
public:
    explicit button_main_close(QWidget *parent = nullptr);
    
protected:
    //进入事件
    void enterEvent(QEvent *event);
    //离开事件
    void leaveEvent(QEvent *event);
    //按下事件
    void mousePressEvent(QMouseEvent *event);
    //释放事件
    void mouseReleaseEvent(QMouseEvent *event);
    
signals:
    
};

#endif // BUTTON_MAIN_CLOSE_H
